All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.Box

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.app.Responder
                   |
                   +----com.apple.alpha.app.View
                           |
                           +----com.apple.alpha.app.Box

public class Box
extends View
This class wraps the Objective-C class NSBox.


Variable Index

 o AboveBottom
 o AboveTop
 o AtBottom
 o AtTop
 o BelowBottom
 o BelowTop
 o NoTile

Constructor Index

 o Box()
This default constructor is equivalent to Objective-C's [[NSBox alloc] init].
 o Box(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o Box(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.
 o Box(Rect)
This constructor has the same effect as calling - initWithFrame: on a newly allocated object.

Method Index

 o borderRect()
A wrapper for the - borderRect Objective-C instance method.
 o borderType()
A wrapper for the - borderType Objective-C instance method.
 o contentView()
A wrapper for the - contentView Objective-C instance method.
 o contentViewMargins()
A wrapper for the - contentViewMargins Objective-C instance method.
 o setBorderType(int)
A wrapper for the - setBorderType: Objective-C instance method.
 o setContentView(View)
A wrapper for the - setContentView: Objective-C instance method.
 o setContentViewMargins(Size)
A wrapper for the - setContentViewMargins: Objective-C instance method.
 o setFrameFromContentFrame(Rect)
A wrapper for the - setFrameFromContentFrame: Objective-C instance method.
 o setTitle(String)
A wrapper for the - setTitle: Objective-C instance method.
 o setTitleFont(Font)
A wrapper for the - setTitleFont: Objective-C instance method.
 o setTitlePosition(int)
A wrapper for the - setTitlePosition: Objective-C instance method.
 o setTitleWithMnemonic(String)
A wrapper for the - setTitleWithMnemonic: Objective-C instance method.
 o sizeToFit()
A wrapper for the - sizeToFit Objective-C instance method.
 o title()
A wrapper for the - title Objective-C instance method.
 o titleCell()
A wrapper for the - titleCell Objective-C instance method.
 o titleFont()
A wrapper for the - titleFont Objective-C instance method.
 o titlePosition()
A wrapper for the - titlePosition Objective-C instance method.
 o titleRect()
A wrapper for the - titleRect Objective-C instance method.

Variables

 o NoTile
 public static final int NoTile
 o AboveTop
 public static final int AboveTop
 o AtTop
 public static final int AtTop
 o BelowTop
 public static final int BelowTop
 o AboveBottom
 public static final int AboveBottom
 o AtBottom
 public static final int AtBottom
 o BelowBottom
 public static final int BelowBottom

Constructors

 o Box
 protected Box(boolean shouldAllocate,
               int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o Box
 public Box()
This default constructor is equivalent to Objective-C's [[NSBox alloc] init].

 o Box
 public Box(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

 o Box
 public Box(Rect frameRect)
This constructor has the same effect as calling - initWithFrame: on a newly allocated object.

Methods

 o borderType
 public native int borderType()
A wrapper for the - borderType Objective-C instance method.

 o titlePosition
 public native int titlePosition()
A wrapper for the - titlePosition Objective-C instance method.

 o setBorderType
 public native void setBorderType(int aType)
A wrapper for the - setBorderType: Objective-C instance method.

 o setTitlePosition
 public native void setTitlePosition(int aPosition)
A wrapper for the - setTitlePosition: Objective-C instance method.

 o title
 public native String title()
A wrapper for the - title Objective-C instance method.

 o setTitle
 public native void setTitle(String aString)
A wrapper for the - setTitle: Objective-C instance method.

 o titleFont
 public native Font titleFont()
A wrapper for the - titleFont Objective-C instance method.

 o setTitleFont
 public native void setTitleFont(Font fontObj)
A wrapper for the - setTitleFont: Objective-C instance method.

 o borderRect
 public native Rect borderRect()
A wrapper for the - borderRect Objective-C instance method.

 o titleRect
 public native Rect titleRect()
A wrapper for the - titleRect Objective-C instance method.

 o titleCell
 public native Object titleCell()
A wrapper for the - titleCell Objective-C instance method.

 o sizeToFit
 public native void sizeToFit()
A wrapper for the - sizeToFit Objective-C instance method.

 o contentViewMargins
 public native Size contentViewMargins()
A wrapper for the - contentViewMargins Objective-C instance method.

 o setContentViewMargins
 public native void setContentViewMargins(Size offsetSize)
A wrapper for the - setContentViewMargins: Objective-C instance method.

 o setFrameFromContentFrame
 public native void setFrameFromContentFrame(Rect contentFrame)
A wrapper for the - setFrameFromContentFrame: Objective-C instance method.

 o contentView
 public native Object contentView()
A wrapper for the - contentView Objective-C instance method.

 o setContentView
 public native void setContentView(View aView)
A wrapper for the - setContentView: Objective-C instance method.

 o setTitleWithMnemonic
 public native void setTitleWithMnemonic(String stringWithAmpersand)
A wrapper for the - setTitleWithMnemonic: Objective-C instance method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index